.box{
  background: linear-gradient(to right,#e66465,#9198e5);
  width: 100px;
  height: 100px;
  /* transition: 0.4s linear; */
  position: fixed;
  left: 300px;
  top: 300px;
  box-shadow:0 0 8px 5px rgb(234, 238, 238);
  border-radius: 10px 20px 10px 20px;
}

.box:hover{
  /* transform: scale(2) rotate(2turn);
   */
   animation: fate 2s infinite ease-in-out alternate 1s;
   /* width: 200px;
   height: 200px;
   background: linear-gradient(to right,#e66465,#9198e5);
   font-size: 24px; */
 
}
@keyframes fate {
  0%{
    width: 100px;
  height: 100px;
  background: #e66465;
  font-size: 12px;
  }
  50%{
  
    width: 200px;
    height: 200px;
    background: linear-gradient(to right,#e66465,#9198e5);
    font-size: 24px;
  }
  100%{
    width: 100px;
    height: 100px;
    background: #9198e5;
    font-size: 12px;
  }
}


.sanjiao{
  background: linear-gradient(to right,#e66465,#9198e5);
  width: 0;
  height: 0;
  transition: 0.4s linear;
  position: fixed;
  left: 100px;
  top: 100px;
  /* box-shadow:0 0 8px 5px rgb(234, 238, 238); */
  /* border-radius: 10px 20px 10px 20px; */
  color: #fff;
  border: 50px solid;
  border-color: red green black yellow;
  border-color:transparent transparent black transparent;
  transform-origin: center 50px;
}

.sanjiao:hover{
  transform: scale(2) rotate(1.5turn);
  font-size: 24px;
  
}


.ball{
  border-radius: 50%;
  animation: jump 0.3s infinite alternate;
  width: 50px;
  height: 50px;
  background: #f40;
  margin:0 auto;
  margin-top: 300px;

}
@keyframes jump {
  from{
    transform: scale(1.3,0.7);
  }
  to{
    transform: scale(0.7,1.3) translateY(-100px);
    background-color: #e2af51;
  }
}

.loading{
  text-align: center;
  margin-top: 100px;
}
.dot{
  display: inline-block;
  width: 8px;
  height: 20px;
  background-color: lightgreen;
  border-radius: 5px;
  animation: loading .5s ease-in-out infinite alternate
}
.dot2{
  animation-delay: .2s;
}
.dot3{
  animation-delay: .4s;
}
.dot4{
  animation-delay: .6s;
}
.dot4{
  animation-delay: .8s;
}
@keyframes loading {
  from{
    transform: scaleY(1);
  }
  to{
    transform: scaleY(1.5);
    background-color: lightblue;
}
}




